PORTNAME=	folks
PORTVERSION=	0.15.6
CATEGORIES=	net-im
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Library to aggregates people from multiple sources
WWW=		https://wiki.gnome.org/Projects/Folks

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
		libgcr-base-3.so:security/gcr \
		libnspr4.so:devel/nspr \
		libssl3.so:security/nss \
		libsecret-1.so:security/libsecret \
		libdbus-glib-1.so:devel/dbus-glib \
		libdbus-1.so:devel/dbus

USES=		gettext gnome localbase meson python:3.7+,build pkgconfig \
		readline sqlite tar:xz vala:build
USE_GNOME=	glib20 evolutiondataserver3 introspection:build libxml2
USE_LDCONFIG=	yes

MESON_ARGS=	-Dbluez_backend=false \
		-Dtelepathy_backend=false \
		-Dtests=false \
		-Dinstalled_tests=false

GLIB_SCHEMAS=	org.freedesktop.folks.gschema.xml

PLIST_SUB=	LIBVER=26 LIBVERLONG=26.0.0

BINARY_ALIAS=	python3=${PYTHON_CMD}

PORTSCOUT=	limitw:1,even

.include <bsd.port.mk>
